package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-10-26 12:25
*/
 

@Data
@TableName(value = "t_order_comment")
@Accessors(chain = true)
public class TOrderComment {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 评论会员id
     */
    @TableField(value = "m_id")
    private Long mId;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 0差评 1中评 2 好评
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 标签
     */
    @TableField(value = "tag")
    private String tag;

    /**
     * 订单发布会员id
     */
    @TableField(value = "comment_member_id")
    private Long commentMemberId;

    @TableField(value = "add_time")
    private Date addTime;
}